﻿// JScript File
// This script creates many user objects statically if a corresponding AJAX call is not yet implemented

function testMapLines(){
    MapLines[0] =  "############################################<br>";
    MapLines[1] =  "#............#######................###....#<br>";
    MapLines[2] =  "#..............|............_.......###....#<br>";
    MapLines[3] =  "#.......@....#######................###....#<br>";
    MapLines[4] =  "#............#######.......................#<br>";
    MapLines[5] =  "#####/##############...%...................#<br>";
    MapLines[6] =  "#......#############..%.....#######........#<br>";
    MapLines[7] =  "#......#############........#######........#<br>";
    MapLines[8] =  "#......#############....###########........#<br>";
    MapLines[9] =  "#......#############.x..###########..$.....#<br>";
    MapLines[10] = "#........|..............######.............#<br>";
    MapLines[11] = "#......#######################....^........#<br>";
    MapLines[12] = "############################################<br>";
}

function testEntities(){
    Entities[0] = new Entity();
    Entities[0].x = 6;   
    Entities[0].y = 6;
    Entities[0].ID = 0;
    Entities[1] = new Entity();
    Entities[1].ID = 1;
    Entities[1].x = 7;
    Entities[1].y = 7;
    Entities[2] = new Entity();
    Entities[2].ID = 2;
    Entities[2].x = 9;
    Entities[2].y = 7;
    Entities[3] = new Entity();
    Entities[3].ID = 1;
    Entities[3].x = 4;
    Entities[3].y = 7;
    Entities[3].eChar = "<span class='playerChar'>T</span>"
}